from events import attach
from portio import inb


def handler(_=None):
    scancode = inb(0x60)
    print "scancode", scancode


def init():
    attach('IRQ/1', handler)